package com.secsbrain.cmdb.biz;

import com.secsbrain.cmdb.client.model.App;
import com.secsbrain.cmdb.dal.model.Host;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import com.baomidou.framework.service.ISuperService;
import com.baomidou.mybatisplus.plugins.Page;

/**
 *
 * Host 表数据服务层接口
 *
 */
public interface IHostService extends ISuperService<Host> {

	void loadServer(String userName) throws IOException;
	
	Page<Host> queryHostPageList(Page<Host> pageBean,Host params);
	
	/**
	 * 功能描述: <br>
	 * 查询主机部署的应用
	 *
	 * @param hostId  主机ID
	 * @return
	 */
	List<App> hostUseApp(Long hostId);
	
	
	Map<String, List<String>> queryIpByHost(String[] hostList);
	
}